package com.example.administrator.myapplication;

/**
 * Created by Administrator on 2018/3/15.
 */

import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
     * service统一接口数据
     * Created by WZG on 2016/7/16.
     */
    public interface HttpService {
        @GET("book/search")
        Observable<BookEntity> getSearchBook(@Query("q") String name,
                                       @Query("tag") String tag, @Query("start") int start,
                                       @Query("count") int count);
    }

